Dont set enum to NULL fixes build issues on Solaris 10
authorTimothy Arceri <t_arceri@yahoo.com.au>
Thu, 3 Oct 2013 21:21:55 +0000 (07:21 +1000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Oct 2013 05:27:06 +0000 (01:27 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=586107
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
modules/printbackends/papi/gtkprintbackendpapi.c

index 6a40f56e362fa92d8c3a26753868fc5c9d898c30..a752eeb3af7a8c1fa20e21d3a7ed61980041511e 100644 (file)
@@ -350,7 +350,7 @@ gtk_print_backend_papi_print_stream (GtkPrintBackend        *print_backend,
   const gchar *title;
   char *prtnm = NULL;
   GtkPrintDuplex val;
-  papi_status_t pstatus = NULL;
+  papi_status_t pstatus;
   papi_attribute_t **attrs = NULL;
   papi_job_ticket_t *ticket = NULL;